home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Development Platforms / Apple II / Essentials / Technical.Notes / PDOS / TN.PDOS.011 < prev    next >
Encoding:
Text File  |  1988-12-15  |  2.3 KB  |  48 lines  |  [TEXT/pdos]

  1. Apple II
  2. Technical Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5.  
  6.  
  7. ProDOS 8
  8. #11:    The ProDOS 8 MACHID Byte
  9.  
  10. Revised by:    Matt Deatherage                                  November 1988
  11. Revised by:    Pete McDonald                                    November 1985
  12.  
  13. This Technical Note describes the machine ID byte (MACHID) which ProDOS 
  14. maintains to help identify different machine types.
  15. _____________________________________________________________________________
  16.  
  17. ProDOS 8 maintains a machine ID byte, MACHID, at location $BF98 in the ProDOS 
  18. 8 global page.  Section 5.2.4 of the ProDOS 8 Technical Reference Manual 
  19. correctly documents the definition of this byte.
  20.  
  21. MACHID has become less robust through the years.  Although it can tell you if 
  22. you are running on an Apple ][, ][+, IIe, IIc, or Apple /// in emulation mode, 
  23. it cannot tell you which version of an Apple IIe or IIc you are using, nor can 
  24. it identify an Apple IIGS (it thinks a IIGS is an Apple IIe).  However, the 
  25. byte still provides a quick test for two components of the system which you 
  26. might wish to identify:  an 80-column card and a clock card.
  27.  
  28. Bit 1 of MACHID identifies an 80-column card.  ProDOS 8 Technical Note #15, 
  29. How ProDOS 8 Treats Slot 3 explains how this identification is determined.  
  30. Note that on an Apple IIGS, this bit is always set, even if the user selects 
  31. Your Card in the Control Panel for slot 3.  The bit is set since ProDOS 8 
  32. versions 1.7 and later switch out a card in slot 3 in favor of the built-in 
  33. 80-column firmware, unless the card in slot 3 is an 80-column card.  ProDOS 8 
  34. behaves in the same manner on an Apple IIe as well.
  35.  
  36. Bit 0 of MACHID identifies a clock card.  Note that on an Apple IIGS, this bit 
  37. is always set since the IIGS clock cannot be switched out of the system.  Due 
  38. to these unchangeable settings, the value of MACHID on the Apple IIGS is 
  39. always $B3, as it is on any Apple IIe with an 80-column card and a clock card.
  40.  
  41.  
  42. Further Reference
  43. o    ProDOS 8 Technical Reference Manual
  44. o    Apple IIGS Hardware Reference Manual
  45. o    ProDOS 8 Technical Note #15, How ProDOS 8 Treats Slot 3
  46. o    Miscellaneous Technical Note #7, Apple II Family Identification
  47.  
  48.